﻿using App.Common;
using QxFramework.Core;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TitleProcedure : ProcedureBase
{
    protected override void OnEnter(object args)
    {
        AddSubmodule(new Titlemodule());
        AudioControl.Instance.BGMPlay("背景音乐.mp3", 10);
        base.OnEnter(args);
    }

    protected override void OnLeave()
    {
        base.OnLeave();
        UIManager.Instance.CloseAll();
        Data.Instance.inStartUI = false;
    }
}
